package com.slim.service;

import java.io.Serializable;
import java.util.List;

public abstract interface GenericManager<T, PK extends Serializable>
{
  public abstract List<T> getAll();

  public abstract T get(PK paramPK);

  public abstract boolean exists(PK paramPK);

  public abstract T save(T paramT);

  public abstract void remove(PK paramPK);

  public abstract List<T> search(String paramString, Class paramClass);
}

